package com.dd.auth.mapper;

import com.dd.auth.vo.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface UserMapper {

    List<User> getAllUser();


    @Select("select * from user where sex = #{sex}")
    List<User> getUserBySex(String sex);
}

